home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Tool Chest / QuickDraw GX / QuickDraw GX Info / QuickDraw GX Interfaces / Interfaces & Libraries / interfaces / PrintingLibraries.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-24  |  2.5 KB  |  92 lines  |  [TEXT/MPS ]

  1. /* ------------------------------------------------------------------------------
  2.  
  3. FILENAME
  4.     PrintingLibraries.h
  5.  
  6. DESCRIPTION
  7.         This file defines interfaces to the Printing libraries.
  8.     
  9. COPYRIGHT
  10.      © Apple Computer, Inc. 1990-1993
  11.      All rights reserved. 
  12.     
  13. -------------------------------------------------------------------------------- */
  14.  
  15. #ifndef __PRINTINGMANAGER__
  16.     #include <PrintingManager.h>
  17. #endif
  18.  
  19.  
  20. // collection utilities
  21.  
  22.  
  23. OSErr GetCollectionItemCategory (Collection,
  24.                                               CollectionTag,
  25.                                             long tagID,
  26.                                             gxCollectionCategory *);
  27.  
  28. OSErr SetCollectionItemCategory (Collection,
  29.                                               CollectionTag,
  30.                                             long tagID,
  31.                                             gxCollectionCategory);
  32.  
  33. OSErr RemoveCollectionCategory (Collection,
  34.                                           gxCollectionCategory);
  35.  
  36. void GetCollectionItemLock (Collection,
  37.                                      CollectionTag,
  38.                                      long    tagID,
  39.                                      Boolean *isLocked);
  40.  
  41. OSErr SetCollectionItemLock (Collection,
  42.                                       CollectionTag,
  43.                                       long tagID,
  44.                                       Boolean lockIt);
  45.  
  46. OSErr AddJobItem (gxJob, CollectionTag, long id, long itemSize, void *itemData);
  47. OSErr AddFormatItem (gxFormat, CollectionTag, long id, long itemSize, void *itemData);
  48. OSErr AddVolatileJobItem (gxJob, CollectionTag, long id, long itemSize, void *itemData);
  49. OSErr AddVolatileFormatItem (gxFormat, CollectionTag, long id, long itemSize, void *itemData);
  50.                                   
  51.  
  52. // papertype utilities
  53.  
  54.  
  55. long GetPaperTypeBaseType (gxPaperType thePaperType);
  56.  
  57. void SetPaperTypeBaseType (gxPaperType thePaperType, long theBasePaperType);
  58.  
  59. OSType GetPaperTypeCreator(gxPaperType    thePaperType);
  60.  
  61. void SetPaperTypeCreator (gxPaperType thePaperType, OSType theCreator);
  62.  
  63. unsigned char GetPaperTypeUnits (gxPaperType thePaperType);
  64.  
  65. void SetPaperTypeUnits (gxPaperType thePaperType, unsigned char theUnits);
  66.  
  67. unsigned long GetPaperTypeFlags (gxPaperType thePaperType);
  68.  
  69. void SetPaperTypeFlags (gxPaperType thePaperType, unsigned long theFlags);
  70.  
  71. void GetPaperTypeComment (gxPaperType thePaperType, Str255 theComment);
  72.  
  73. OSErr SetPaperTypeComment (gxPaperType    thePaperType, Str255 theComment);
  74.  
  75. void LockFormatPaperType (gxFormat, Boolean lockPaperType);
  76.  
  77.  
  78. // job format mode utilities
  79.  
  80.  
  81. gxPositionConstraintTableHdl GetJobFormatLineConstraint(gxJob, gxPositionConstraintTableHdl);
  82.  
  83. gxFontTableHdl GetJobFormatFonts(gxJob, gxFontTableHdl);
  84.  
  85. gxStyleNameTableHdl GetJobFormatFontCommonStyles(gxJob, gxFont, gxStyleNameTableHdl);
  86.  
  87. gxPositionConstraintTableHdl GetJobFormatFontConstraint(gxJob, gxFont, gxPositionConstraintTableHdl);
  88.  
  89. gxStyle SetStyleJobFormatCommonStyle(gxJob, Str255, gxStyle);
  90.  
  91.  
  92.